﻿using DLUProject.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Modules_SlideShow : BaseUserControl
{
    public int MaxItem { get; set; }
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected override void OnInit(EventArgs e)
    {        
        base.OnInit(e);

        ModuleParams param = ModuleParams.GetModuleParams(this.Params);
        if (param != null)
        {
            this.Title = !param.ShowTitle ? "" : this.Title;
            this.MaxItem = param.MaxItem;
        }
    }
}